package com.example.demo.study.service;

import com.example.demo.study.pojo.SysUser;
import com.example.demo.study.utils.LoginUser;
import com.example.demo.study.utils.ResponseResult;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.stereotype.Service;

/**
 * @author leo
 * @Date 2023/11/8 22:42
 * @Version 1.0
 */
@Service
public interface SysUserService extends UserDetailsService {

    SysUser get(String id);

    ResponseResult login(SysUser sysUser);

    int save(SysUser sysUser);

    ResponseResult logout();
}
